package cn.edu.bzu.ie.sf.mealsmisweb.entity;

import java.io.Serializable;

/**
 * @version v1.0.0
 * @Package : cn.edu.bzu.ie.sf.mealsmisweb.entity
 * @Description : 部门信息实体类
 * @Create on : 2021/8/7 19:55
 * @author: Feng Song 宋锋
 **/
public class Department implements Serializable {
    private Integer id;       // 微机编码，自动增长的主键
    private String depname;   // 部门名称
    private Integer pid;      // 父部门id
    private String pname;     // 父部门名称
    private Integer ptype;    // 父部门的类型
    private Integer deptype;  // 部门类型：0支队，1大队，2中队
    private String city;      // 所在城市：滨州市
    private Integer distid;   // 所在区县
    private String dname;     // 区县名称
    private Integer creator;  // 创建者（用户id）
    private String creator_name;   // 创建者（用户）名称
    private String create_dt;   // 创建时间

    public Department() {
    }

    public Department(Integer id, String depname, Integer pid, String pname, Integer ptype, Integer deptype, String city,
                      Integer distid, String dname, Integer creator, String creator_name, String create_dt) {
        this.id = id;
        this.depname = depname;
        this.pid = pid;
        this.pname = pname;
        this.ptype = ptype;
        this.deptype = deptype;
        this.city = city;
        this.distid = distid;
        this.dname = dname;
        this.creator = creator;
        this.creator_name = creator_name;
        this.create_dt = create_dt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDepname() {
        return depname;
    }

    public void setDepname(String depname) {
        this.depname = depname;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getPtype() {
        return ptype;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    public Integer getDeptype() {
        return deptype;
    }

    public void setDeptype(Integer deptype) {
        this.deptype = deptype;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getDistid() {
        return distid;
    }

    public void setDistid(Integer distid) {
        this.distid = distid;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public String getCreator_name() {
        return creator_name;
    }

    public void setCreator_name(String creator_name) {
        this.creator_name = creator_name;
    }

    public String getCreate_dt() {
        return create_dt;
    }

    public void setCreate_dt(String create_dt) {
        this.create_dt = create_dt;
    }
}
